package cn.edu.stu.syllabus.repository.token.local;

/**
 * Created by daidaijie on 2017/4/25.
 */

public class TokenEntry {

    private long startTime;

    private long expressTime;

    private String accessToken;

    private String refreshToken;


    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getExpressTime() {
        return expressTime;
    }

    public void setExpressTime(long expressTime) {
        this.expressTime = expressTime;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    @Override
    public String toString() {
        return "TokenEntry{" +
                "startTime=" + startTime +
                ", expressTime=" + expressTime +
                ", accessToken='" + accessToken + '\'' +
                ", refreshToken='" + refreshToken + '\'' +
                '}';
    }
}
